import { createStore, applyMiddleware, combineReducers } from 'redux';
import thunk from 'redux-thunk';
import logger from 'redux-logger';
import ceshiReducer from './reducers/ceshi/ceshiReducer';
let allReducers = combineReducers({
  ceshiname: ceshiReducer, // 以对象形式添加处理器
});
let store = createStore(allReducers, applyMiddleware(thunk, logger));
export default store;
